package services

import (
	"fmt"
	"secondbuy/Iris/repositories"
)

type MovieService interface {
	ShowMovieName()string
}
type MovieServiceManger struct {
	repo repositories.MoveRepository
}
func NewMovieServiceManger(repo repositories.MoveRepository)MovieService{
	return &MovieServiceManger{repo: repo}
}

func (m *MovieServiceManger)ShowMovieName() string{
	fmt.Println("我们获取到的视频名称为： "+m.repo.GetMovieName())
	return "我们获取到的视频名称为： "+m.repo.GetMovieName()
}
